package cn.doitedu;

import cn.doitedu.core.DataManagerService;
import cn.doitedu.core.StudentBean;

import java.util.List;

public class DataManager_V1 {

    public static void main(String[] args) throws Exception {

        DataManagerService dataManagerService = new DataManagerService("data/stu.dat","");


        StudentBean studentBean = new StudentBean(8, "周宇熙", 22, "男", "加利福利亚大学", "怎么转到第一桶金|怎么撩到第一个美女|如何让涛哥闭嘴");
        dataManagerService.appendStudent(studentBean);

        List<String> 结果 = dataManagerService.findStudentsByInterestWord("美女");
        System.out.println(结果);

    }


}
